<template>
	<v-question ref="form" storeKey="q_2" :formFields="fields" :referenceKey="referenceKey" :onSubmit="onSubmit" :dialogGoUri="url">
	</v-question>
</template>

<script>
import data from '~/data/pmt'
import { push } from '~/router'
export default {
	props: {
	},
	data() {
		return {
			fields: data,
			url: '/pmtToNextArray',
			referenceKey: "1.题目求的是所有前缀的PMT值，所有前缀是不包括整个串的，故最后一位的PMT值非题目所求，为空即可。最终的答案为0、0、1、2、3。"
		}
	},
	methods: {
		onSubmit(data, isSuccess) {
			if (isSuccess)
				return
		},
		goTo(name) {
			push(this, name);
		}
	}
};
</script>

<style>
</style>
